package cn.may.service;

import cn.may.domain.student.Student;

import java.util.List;

/**
 * @author mayuanbao
 * @date 2019-06-02 12:12
 */
public interface StudentService {
    List<Student> findAll();

    Student addStudent(Student student);

    Student findByName(String name);

    Student getById(Integer id) throws Exception;

    int deleteById(Integer id);
}
